<?php
namespace app\ClubAdmin\controller;

use think\Controller;
use think\Session;
class Index extends Controller
{
    public function _initialize()
    {
        if (!Session::has('clubid'))
        {
            $this->redirect('index/index/index');
        }
    }


    public function logout()
    {
        Session::clear();
        $this->redirect('index/index/index');
    }
}
